﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Commonality.Authority;

namespace Models.Authority
{
    [Table("Users")]
    public class Users: AuditFiled<int>//用户表
    {
        /// <summary>
        /// 登录账户
        /// </summary>
        public string? Login_Name { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string? Password { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string? RealName { get; set; }
        /// <summary>
        /// 英文名称
        /// </summary>
        public string? EnglishName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool? Gender { get; set; }
        /// <summary>
        /// 国际电话
        /// </summary>
        public string? Phone { get; set; }
        /// <summary>
        /// 移动电话
        /// </summary>
        public string? Mobile { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string? Email { get; set; }
        /// <summary>
        /// 启用禁用
        /// </summary>
        public bool? Enabled { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public State? Type { get; set; }
        /// <summary>
        /// 二级联动ID
        /// </summary>
        public int? DropID { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        public string? DropName { get; set; }
        /// <summary>
        /// 新ID
        /// </summary>
        public int? PID { get; set; }
    }
}
